home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / program / libkb100.zip / LIBKB-1.00 / MAKEFILE < prev    next >
Text File  |  1996-07-23  |  679b  |  49 lines

  1. #
  2. # Makefile for GNU make
  3. #
  4. # libkb -- a free, advanced and portable low-level keyboard library
  5. # Copyright (C) 1995, 1996 Markus Franz Xaver Johannes Oberhumer
  6. # For conditions of distribution and use, see copyright notice in kb.h 
  7. #
  8.  
  9.  
  10. UNAME_S := $(strip $(shell uname -s))
  11.  
  12.  
  13. ifneq ($(COMSPEC),)
  14. shell_@=$(subst /,\\,$@)
  15. else
  16. shell_@=$@
  17. endif
  18.  
  19.  
  20. #
  21. # Linux
  22. #
  23.  
  24. ifeq ($(UNAME_S),Linux)
  25.  
  26. # TODO: autodetect an ELF compiler and select ELF target
  27.  
  28. ifneq ($(strip $(wildcard Makefile.lnx)),)
  29. include Makefile.lnx
  30. else
  31. include makefile.lnx
  32. endif
  33. endif
  34.  
  35.  
  36. #
  37. # djgpp v2 (MSDOS)
  38. #
  39.  
  40. ifeq ($(UNAME_S),)
  41. ifneq ($(COMSPEC),)
  42. ifneq ($(DJGPP),)
  43. include config/dos/makefile.dj2
  44. endif
  45. endif
  46. endif
  47.  
  48.  
  49.